Line Number Settings

This section discusses the options displayed on the Line Numbers tab for a file type.

Enable Intelligent Line Number Support

When enabled, detected line numbers are protected from editing. Based on additional options, line numbers will be assigned to new lines intelligently.

Character Position

This field determines the position on each line at which the line number starts. For file types where the line number starts each line, i.e. COBOL, this should be set to 1.

Digits

This field determines the number of digits in the line number.

Start

This field determines the starting line number for new and automatically renumbered files.

Sequence

This field determines the default increment used between line numbers.

Automatically Renumber Files When Saving

This option determines if the existing line numbers in a file should be replaced with an automatically generated line number sequence when saving. This is particularly useful when the user is not interested in keeping existing line numbers, as Programmer Studio will not display an error when new lines may not be inserted in sequence.

Display Line Numbers in MPE Format

This option will display line numbers with a period for a thousands separator and hide any trailing zeroÆs. This does not affect the format in which line numbers are saved.

Detect COBOLÆ85 Line Tags

This option will examine character positions 73 to 80 on each line to determine if line tags exist.

Auto-Tag Modified Lines

This option will automatically update character positions 73 to 80 on each line, when a change is made to that line. The format of the inserted line tag is specified in this field. A number of existing line tag formats are provided in the drop-down list.